package openfl.display;

import openfl.Lib;

class StageTest
{
	public static function __init__()
	{
		Mocha.describe("Haxe | Stage", function()
		{
			Mocha.it("align", function()
			{
				// TODO: Confirm functionality

				var exists = Lib.current.stage.align;

				Assert.notEqual(exists, null);
			});

			Mocha.it("allowsFullScreen", function()
			{
				// TODO: Confirm functionality

				var exists = Lib.current.stage.allowsFullScreen;

				Assert.notEqual(exists, null);
			});

			Mocha.it("allowsFullScreenInteractive", function()
			{
				// TODO: Confirm functionality

				var exists = Lib.current.stage.allowsFullScreenInteractive;

				Assert.notEqual(exists, null);
			});

			// Mocha.it ("application", function () {

			// 	// TODO: Confirm functionality

			// 	var exists = Lib.current.stage.application;

			// 	Assert.notEqual (exists, null);

			// });

			Mocha.it("color", function()
			{
				// TODO: Confirm functionality

				var exists = Lib.current.stage.color;

				Assert.notEqual(exists, null);
			});

			Mocha.it("displayState", function()
			{
				// TODO: Confirm functionality

				var exists = Lib.current.stage.displayState;

				Assert.notEqual(exists, null);
			});

			Mocha.it("focus", function()
			{
				// TODO: Confirm functionality

				var exists = Lib.current.stage.focus;

				Assert.equal(exists, null);
			});

			Mocha.it("frameRate", function()
			{
				// TODO: Confirm functionality

				var exists = Lib.current.stage.frameRate;

				Assert.notEqual(exists, null);
			});

			Mocha.it("quality", function()
			{
				// TODO: Confirm functionality

				var exists = Lib.current.stage.quality;

				Assert.notEqual(exists, null);
			});

			Mocha.it("scaleMode", function()
			{
				// TODO: Confirm functionality

				var exists = Lib.current.stage.scaleMode;

				Assert.notEqual(exists, null);
			});

			Mocha.it("stage3Ds", function()
			{
				// TODO: Confirm functionality

				var exists = Lib.current.stage.stage3Ds;

				Assert.notEqual(exists, null);
			});

			Mocha.it("stageFocusRect", function()
			{
				// TODO: Confirm functionality

				var exists = Lib.current.stage.stageFocusRect;

				Assert.assert(exists);
			});

			Mocha.it("stageHeight", function()
			{
				// TODO: Confirm functionality

				var exists = Lib.current.stage.stageHeight;

				Assert.notEqual(exists, null);
			});

			Mocha.it("stageWidth", function()
			{
				// TODO: Confirm functionality

				var exists = Lib.current.stage.stageWidth;

				Assert.notEqual(exists, null);
			});

			// Mocha.it ("window", function () {

			// 	// TODO: Confirm functionality

			// 	var exists = Lib.current.stage.window;

			// 	Assert.notEqual (exists, null);

			// });

			Mocha.it("invalidate", function()
			{
				// TODO: Confirm functionality

				var exists = Lib.current.stage.invalidate;

				Assert.notEqual(exists, null);
			});
		});
	}
}
